package com.tang.java.mysq;

import lombok.*;
import lombok.experimental.Accessors;

@Setter
@Getter
@Accessors(chain = true)
@ToString
@NoArgsConstructor
public class T {
    /**
     * id
     */
    private String id;

    /**
     * name
     */
    private String name;

    public static T of() {
        return new T();
    }

    public static void main(String[] args) {
        System.out.println(T.of().setId("1").setName("haha"));
    }
}